package com.chat.websocket.util.useragent;

import cz.mallat.uasparser.OnlineUpdater;
import cz.mallat.uasparser.UASparser;

import java.io.IOException;

/**
 * SunJingxuan
 * 2022 \ 08 \ 08
 */

public class UserAgentUtil {

	public static UASparser UA_SPARSER = null;

	static {
		try {
			UA_SPARSER = new UASparser(OnlineUpdater.getVendoredInputStream());
		} catch (IOException e) {
			throw new RuntimeException(e);
		}
	}
}
